package cn.hg.jbsa.admin.service;


import org.apache.shiro.authz.AuthorizationInfo;
import org.apache.shiro.subject.PrincipalCollection;

import cn.hg.jboot.core.vo.BaseResponseVo;
import cn.hg.jbsa.admin.model.JbsaAdmin;

/**
 * @author 胡高
 * @date 2022/04/18
 */
public interface JbsaShiroService {
    public AuthorizationInfo buildAuthorizationInfo(PrincipalCollection principals);

    public BaseResponseVo<JbsaAdmin> shiroLogin(String username, String password);
}
